////////////////////////////////////////////////////////////////////////////////////
// File:        NewVersionMsg.h
// Purpose:     Class which stores the message of a new version of this application,
//              can show a message in balloon tooltip or using a messagebox
// Author:      Tukero
// Copyright:   (c) Tukero <tukero@gmail.com>
// Licence:     GNU/LGPL v3
////////////////////////////////////////////////////////////////////////////////////

#ifndef _TNOD_NEWVERSIONMSG_
#define _TNOD_NEWVERSIONMSG_

#ifndef WX_PRECOMP
#  include <wx/wx.h>
#else
#  include <wx/wxprec.h>
#endif

#include "Multilanguage.h"

class NewVersionMsg
{
private:
    void ShowInMessageBox();
    void ShowInMultipleChoises();
public:
    wxString        m_newVersion;
    wxArrayString   m_urlsToDownload;
    wxArrayString   m_descriptionsToShow;
    wxArrayInt      m_itemsSelection;
    wxString        m_content;
    wxString        m_title;
    wxFrame*        m_parent;
    bool            m_isNewVersionAvailable;

    NewVersionMsg();
    
    void ShowInBalloonTooltip();
    void ShowMessage();
};

#endif